require('fs').writeFileSync('in.ts', 'let x: number = 1')
require('esbuild').buildSync({
  entryPoints: ['in.ts'],
  loader: {},
  target: 'es2015',
  outfile: 'out.js',
})